package main

import "fmt"

func add(a,b int)int {
	sum := a+b
	return  sum
}

func main()  {
	c:=add

	sum := c(20,300)
	fmt.Println(sum)

	str := "hello world,我愛你中國"

	for index,val := range str{
		fmt.Printf("index[%d] val[%c] len[%d]\n",index,val,len(string(val)))
	}

}
